package yl.hs.bmipfull.pojo.finance;

import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.math.BigDecimal;

/**
 * ShipSettleDetailEntity 发货结算明细
 * @category 财务管理——发货结算明细
 * @author 谢景广
 * @date 2021-12-07
 */
@DBTable(mapCode = "ship_settle_detail",disName = "结算明细信息")
public class ShipSettleDetailEntity extends BaseEntity {
    private Long id;
    @DBField(isSerialNumber = true,mapCode = "sn",snPrefix = "SJSD")
    private String sn;
    private String title;
    private String productSN;
    private String productName;
    private String productSpec;
    private BigDecimal totalWeight= BigDecimal.ZERO;
    private BigDecimal totalQuantity= BigDecimal.ZERO;
    private String parameters;
    private String buildPosition;
    private BigDecimal price = BigDecimal.ZERO;
    private BigDecimal freight= BigDecimal.ZERO;
    private BigDecimal amount= BigDecimal.ZERO;
    private int orderCount;
    private String settleSN;
    private String remark;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getProductSN() {
        return productSN;
    }

    public void setProductSN(String productSN) {
        this.productSN = productSN;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductSpec() {
        return productSpec;
    }

    public void setProductSpec(String productSpec) {
        this.productSpec = productSpec;
    }

    public BigDecimal getTotalWeight() {
        return totalWeight;
    }

    public void setTotalWeight(BigDecimal totalWeight) {
        this.totalWeight = totalWeight;
    }

    public BigDecimal getTotalQuantity() {
        return totalQuantity;
    }

    public void setTotalQuantity(BigDecimal totalQuantity) {
        this.totalQuantity = totalQuantity;
    }

    public String getParameters() {
        return parameters;
    }

    public void setParameters(String parameters) {
        this.parameters = parameters;
    }

    public String getBuildPosition() {
        return buildPosition;
    }

    public void setBuildPosition(String buildPosition) {
        this.buildPosition = buildPosition;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getFreight() {
        return freight;
    }

    public void setFreight(BigDecimal freight) {
        this.freight = freight;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public int getOrderCount() {
        return orderCount;
    }

    public void setOrderCount(int orderCount) {
        this.orderCount = orderCount;
    }

    public String getSettleSN() {
        return settleSN;
    }

    public void setSettleSN(String settleSN) {
        this.settleSN = settleSN;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
